package com.techstar.ats.dxp.live.rep;

import java.util.LinkedList;
import java.util.List;

import com.techstar.ats.dxp.AtsMessage;
import com.techstar.ats.dxp.AtsResponse;
import com.techstar.ats.dxp.live.TrainIndication;

public class F09TrainIndicationInit extends AtsMessage implements AtsResponse {
	private static final long serialVersionUID = 1L;
	public final List<TrainIndication> indications = new LinkedList<>();

	public boolean toCsvString(StringBuffer sb) {
		this.indications.forEach((indication) -> {
			sb.append(this.line)
				.append(',');
			indication.toCsvString(sb);
			sb.append(System.lineSeparator());
		});
		return false;
	}
}
